package com.augurit.gzcgwsp.ljzyz.service;

import com.augurit.common.base.service.ICrudService;
import com.augurit.common.system.web.auth.form.LoginUserForm;
import com.augurit.gzcgwsp.ljzyz.web.form.YwYnBusinfoForm;

/**
 * iccardservice
 * @author Administrator
 *
 */
public interface IBusIccardManageService  extends ICrudService<YwYnBusinfoForm, Long> {

	/**
	 * 读取iccard
	 * @return
	 */
	YwYnBusinfoForm readBusInfo();

	boolean sendIccard(Long busId,LoginUserForm user);

	/**
	 * 清除ic卡信息
	 */
	boolean delCard();

	boolean updateCard(Long busId);

	/**
	 * 打印日期到卡上
	 * @param form
	 * @param context
	 * @param inpath
	 * @return
	 */
	String printDate(YwYnBusinfoForm form, String context, String inpath);

	/**
	 * 打印卡
	 * @param form
	 * @param context
	 * @param inpath
	 * @return
	 */
	String writeData(YwYnBusinfoForm form, String context, String inpath);

	/**
	 * 保存工地信息，企业等级
	 * @param gdjrzh
	 * @param qydj
	 * @param id
	 */
	void saveInfo(String gdjrzh, String qydj,Long id);


}
